<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain">
这里写你的初始化内容
</script>
<!-- 配置文件 -->
<script type="text/javascript" src="./static/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="./static/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('container');

   window.onload = function (ev) {
       var MARK = false;
       UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
       UE.Editor.prototype.getActionUrl = function(action) {
           if (action == 'uploadimage') {
               return "/ueditor/upload?Type=Image&mark="+MARK;
           } else if (action == 'uploadvideo') {
               return "/ueditor/upload?Type=Media";
           }else if (action == 'uploadfile') {
               return "/ueditor/upload?Type=File";
           }else if (action == 'catchimage') {
               return "/ueditor/getRemoteImage";
           }else if (action == 'uploadscrawl') {
               return "/ueditor/scrawlImage?Type=Image";
           }else if (action == 'listimage'||action == 'listfile') {
               return "/ueditor/imageManager?picNum=50&insite=false";
           }else {
               return this._bkGetActionUrl.call(this, action);
           }
       }
   }
</script>

</body>
</html>